package com.wanmait.schedule.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.schedule.entity.Classroom;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 教室表 服务类
 * </p>
 *
 * @author wanmait
 * @since 2022-12-05
 */
public interface ClassroomService extends IService<Classroom> {

    //查看所有上课教室
    List<Classroom> listStudy();

    PageInfo<Classroom> list(Classroom classroom, Integer pageNum);

    Classroom findById(Integer id);
}
